package com.baselibrary.test.ui;

import android.os.Bundle;
import android.widget.ListView;

import com.baselibrary.libs.base.baseActivity.BaseActivity;
import com.baselibrary.test.MVP.Main9Activity.contract.Main9Contract;
import com.baselibrary.test.MVP.Main9Activity.presenter.Main9Presenter;
import com.baselibrary.test.R;

/**9
 * item长度不一样的listView
 */
public class Main9Activity extends BaseActivity implements Main9Contract.View {

    private Main9Presenter mPresenter;
    private ListView MyList;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public int getlayouXML() {
        return R.layout.activity_main9;
    }

    @Override
    public void initP() {
        mPresenter = new Main9Presenter(this);

    }

    @Override
    public void initView() {
        MyList = (ListView)findViewById(R.id.MyList);
        mPresenter.getData(MyList);
    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {

    }
}
